<!DOCTYPE html>
<html lang="en">
  <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta http-equiv="X-UA-Compatible" content="ie=edge">
      <title>我的店铺</title>
      <script type="text/javascript">      
      //根据屏幕大小及dpi调整缩放和大小
      (function() {
          var scale = 1.0;
          var ratio = 1;
          if (window.devicePixelRatio >= 2) {
              scale *= 0.5;
              ratio *= 2;
          }
          var text = '<meta name="viewport" content="initial-scale=' + scale + ', maximum-scale=' + scale +', minimum-scale=' + scale + ', width=device-width, user-scalable=no" />';
          document.write(text);
          document.documentElement.style.fontSize = 50*ratio + "px";
      })();  
      </script>
      <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />      
      <meta http-equiv="Pragma" content="no-cache" />      
      <meta http-equiv="Expires" content="0" />
      <link rel="stylesheet" href="./public/css/reset.css">
      <link rel="stylesheet" href="./public/css/common.css">
      <link rel="stylesheet" href="./public/css/myshop.css">
  </head>
  <body>
    <div class="shop-list-page dn" id="shoplist">
      <ul class="shop-list" id="J_shop_list">
        <li v-for="shop in shopList">
          <a :href="getShopHref(shop.shop_id)">
            <div class="item">
              <div class="shop-addr">{{shop.address}}</div>
              <div class="shop-name">{{shop.shop_name}}</div>
            </div>
          </a>
        </li>
      </ul>
    </div>
    <script type="text/javascript" src="./public/js/lib/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="./public/js/lib/vue.min.js"></script>
    <script type="text/javascript" src="./public/js/src/md5.js"></script>
    <script>
        var links = ['./public/js/src/global.js', './public/js/src/shop-list.js']
        links.forEach(function(item) {
            document.write('<script type="text/javascript" src="' + item +'?ver=' + Math.random() +'"><\/script>')
        })
    </script>
  </body>
</html>